package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BBeginnerArticleInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 新手学堂文章信息
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2021-12-15 15:16:02
 */
@Mapper
public interface BBeginnerArticleInfoDao extends BaseMapper<BBeginnerArticleInfoEntity> {

    List<BBeginnerArticleInfoEntity> queryList(Map<String, Object> params);

    int queryListTotal(Map<String, Object> params);

    BBeginnerArticleInfoEntity getInfoById(Integer id);

    BBeginnerArticleInfoEntity getBeginnerArticleInfoById(Integer id);

    BBeginnerArticleInfoEntity getPlatformArticleInfo(@Param("gzhCode") String gzhCode, @Param("articleTypeId") Integer articleTypeId, @Param("articleId") Integer articleId);
}
